package com.taxi.driver.socket.message;


import com.taxi.driver.socket.message.base.Message;
import com.taxi.driver.socket.message.base.MessageType;

/**
 * PushResponseMessage 推送响应报文
 *
 * @author Zoro
 * @date 2016/11/22
 */
public class PushResponseMessage extends Message {

    private String pushUuid;//推送ID
    private boolean success;//是否成功
    private String msg;//信息

    public PushResponseMessage(String pushUuid, boolean success, String msg) {
        super();
        setType(MessageType.PUSH_RESPONSE);
        this.pushUuid = pushUuid;
        this.success = success;
        this.msg = msg;
    }

    public String getPushUuid() {
        return pushUuid;
    }

    public void setPushUuid(String pushUuid) {
        this.pushUuid = pushUuid;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}